package com.quanyan.ic.common.http.enums;

/**
 * Created by zhuo.shi on 2017/8/2.
 */
public class BizExceptionEnum implements BaseEnum {

    private String code;
    private String label;

    public BizExceptionEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }

    @Override
    public boolean isSuccess() {
        return false;
    }

    @Override
    public int getId() {
        return 100;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
